package com.example.android.ui.message;

import com.example.android.bean.BaseBean;
import com.example.android.bean.Message;
import com.example.android.bean.Mine;

import java.util.List;

import io.reactivex.rxjava3.core.Flowable;

public interface MessageContract {
    interface  IMessagePresenter{
       void getMessage();
    }

    interface IMessageModel{

        Flowable<BaseBean<List<Message>>> getMessage();
    }

    interface IMessageView{
        void getMessageSuccess(BaseBean<List<Message>> messageList);
        void getMessageError(Throwable throwable);
    }
}
